package com.whl.sm.model.system;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 *
 * </p>
 *
 * @author wuhaolun
 * @since 2021-09-10
 */
@Data
public class UserCpRole implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.ASSIGN_UUID)
    String id;

    /**
     * 关联用户Id
     */
    private String userId;

    /**
     * 关联角色Id
     */
    private String roleId;

    /**
     * 操作者Id
     */
    private String operator;

    /**
     * 创建时间·
     */
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;


}
